<% content_for :left_sidebar do  %>
    <%= render :partial => "layouts/sidebar/xiwenguanli" %>
<% end %>

<%- model_class = News -%>
<div class="page-header">
  <h1>稿件采用详情</h1>
</div>

<% @news.news_groups.each do |news_group| %>
    <div class="new_class">平台名称:<span><%= news_group.group.platform_name %></span></div>
    <div class="new_class">是否采用:<span><%= news_group.check_text %></span></div>
    <% if news_group.check == 2 %>
        <div>退回原因:<%= news_group.reason %></div>
    <% end %>
    <hr>
<% end %>
<%= link_to '返回',admins_news_index_path,:class => 'btn btn-info' %>